/*=====================================================
Critical Links
Auto Configuration Server

Authors:
	Rui Eduardo Gouveia Gil - r-gil@critical-links.com

Date: 2010
Version 0.1
=======================================================*/
#ifndef __GROUP_H__
#define __GROUP_H__

#include <vector>
#include <string>
#include <iostream>
#include <rgcpp/tools/ToString.h>

namespace acs
{

class Group
{
	private:
		int id;
		time_t updated;
		time_t creation;
		std::string name;
		std::string description;

	public:
		Group();
		~Group();

		void setID(const int id);
		int getID() const;

		void setUpdated(time_t updated);
		time_t getUpdated() const;

		void setCreation(time_t creation);
		time_t getCreation() const;

		void setName(const std::string& name);
		std::string getName() const;

		void setDescription(const std::string& description);
		std::string getDescription() const;

		std::string toXML() const;
		std::string toXMLFull() const;
};

}

#endif
